﻿@using HrEFCore;
@model List<CFFK>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-trasitional.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<script src="~/aa/vue/dist/vue.js"></script>
	<script src="~/aa/element-ui/lib/index.js"></script>
	<link href="~/aa/element-ui/lib/theme-chalk/index.css" rel="stylesheet" />
	<script src="~/aa/axios/dist/axios.js"></script>
	<link rel="stylesheet" href="~/css/table.css" type="text/css"></link>
	<script type="text/javascript" src="~/javascript/comm/comm.js"></script>
	<script type="text/javascript" src="~/javascript/jquery-1.7.2.js"></script>
	<style type="text/css">
		body {
			background: rgb(253,244,227);
		}

		.TD_STYLE1 {
			background: #E6DDCE;
			/* color:white; */
		}

		.TD_STYLE2 {
			background: rgb(253,244,227);
		}

		.INPUT_STYLE2 {
			background: rgb(253,244,227);
		}
	</style>
</head>
<body>
	<form action="CFFK/Index" method="post">
		<table style="width:100%;margin-top:10px;height:30px;background-color:rgb(253,244,227)">
			<tr>
				<td>
					<font color="black">
						您正在做的业务是：人力资源--客户化设置--人力资源档案管理设置--I级机构设置
					</font>
				</td>
			</tr>
			<tr>
				<td style="float:right;margin-bottom:10px;margin-right:20px">
					<button class="btn btn-warning"><a href="@Url.Action("Insert","CFFK")" target="mainFrame" style="color:black;">添加</a></button>
				</td>
			</tr>
		</table>
		<table class="table table-bordered" style="width:100%;">
			<tr style="background-color :#E6DDCE">
				<th>I级机构编号</th>
				<th>I级机构名称</th>
				<th>薪酬发放责任人编号</th>
				<th>销售责任人编号</th>
				<th>变更</th>
				<th>操作</th>
			</tr>
			@*@foreach (Trees item in ViewData["list"] as List<Trees>)*@
			@foreach (CFFK item in Model)
			{
				<tr style="background-color :rgb(253,244,227);">
					@* <td>@item.FfkId</td> *@
					<td>@item.FirstKindId</td>
					<td>@item.FirstKindName</td>
					<td>
						@item.FirstKindSalaryId
					</td>
					<td>@item.FirstKindSaleId</td>
					<td>
						@* @Html.ActionLink("变更","Update",new{id=item.FfkId}) *@
						@Html.ActionLink("修改","Update","CFFK", new{id=item.FfkId}, new { target = "mainFrame", style = "color:black;", id="fist"})
					</td>
					<td>
						@* @Html.ActionLink("删除","CFFKDel",new{id=item.FfkId}, new { onclick = "return confirm('确认删除嘛？')" }) *@
						@Html.ActionLink("删除","CFFKDel",null, new{id=item.FfkId}, new { target = "mainFrame", style = "color:black;", id="fist",onclick = "return confirm('确认删除嘛？')"})
					</td>
				</tr>
			}
		</table>
		<th colspan="7" class="pager">
		</th>
		<p>
	</form>
</body>
</html>

